<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 应用设置
// +----------------------------------------------------------------------

return [
	'field_type' =>[
		'0' => [
			'name' => '文本框',
			'lists' => [
					'input' => [
							'field' => 'input',
							'name' => '单行文本',
						],
					'email' => [
							'field' => 'email',
							'name' => '邮箱',
						],
					'mobile' => [
							'field' => 'mobile',
							'name' => '手机号',
						],
					'price' => [
							'field' => 'price',
							'name' => '金额',
						],
					'number' => [
							'field' => 'number',
							'name' => '数字',
						],
					'textarea' => [
							'field' => 'textarea',
							'name' => '多行文本',
						],
				]
			],
		'1' => [
			'name' => '时间日期',
			'lists' => [
					'time' => [
						'field' => 'time',
						'name' => '时间 H:i:s',
					],
					'date' => [
						'field' => 'date',
						'name' => '日期 Y-m-d',
					],
					'datetime' => [
						'field' => 'datetime',
						'name' => '日期时间 Y-m-d H:i:s',
					],
				]
			],
		'2' => [
			'name' => '选择器',
			'lists' => [
					'radio' => [
							'field' => 'radio',
							'name' => '单选',
						],
					'select' => [
							'field' => 'select',
							'name' => '下拉',
						],
					'checkbox' => [
							'field' => 'checkbox',
							'name' => '多选',
						],
				]
			],
		'3' => [
			'name' => '上传组件',
			'lists' => [
					'img' => [
							'field' => 'img',
							'name' => '单图上传',
						],
					'img_all' => [
							'field' => 'img_all',
							'name' => '多图上传',
						],
					'file' => [
							'field' => 'file',
							'name' => '附件上传',
						],
				]
			],
		'4' => [
			'name' => '编辑器',
			'lists' => [
					'basics' => [
							'field' => 'basics',
							'name' => '基础编辑器',
						],
					'simple' => [
							'field' => 'simple',
							'name' => '简单编辑器',
						],
					'complete' => [
							'field' => 'complete',
							'name' => '完整编辑器',
						],
				]
			],
	],
	'content_type' => [
		'1' => [
				'id' => '1',
				'name' => '文章列表',
				'info' => '',
			],
		'2' => [
				'id' => '2',
				'name' => '单页详情',
				'info' => '',
			],
		'3' => [
				'id' => '3',
				'name' => '栏目页',
				'info' => '',
			],
		'4' => [
				'id' => '4',
				'name' => '跳转页',
				'info' => '没有具体页面，自动跳转到当前栏目的下级第一个子栏目',
			],
		'0' => [
				'id' => '0',
				'name' => '外部链接',
				'info' => '',
			],
	],
];
?>